﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200023B RID: 571
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ChessRogueGiveUpCsReq : IMessage<ChessRogueGiveUpCsReq>, IMessage, IEquatable<ChessRogueGiveUpCsReq>, IDeepCloneable<ChessRogueGiveUpCsReq>, IBufferMessage
	{
		// Token: 0x17000798 RID: 1944
		// (get) Token: 0x060019D7 RID: 6615 RVA: 0x0004AD97 File Offset: 0x00048F97
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ChessRogueGiveUpCsReq> Parser
		{
			get
			{
				return ChessRogueGiveUpCsReq._parser;
			}
		}

		// Token: 0x17000799 RID: 1945
		// (get) Token: 0x060019D8 RID: 6616 RVA: 0x0004AD9E File Offset: 0x00048F9E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ChessRogueGiveUpCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700079A RID: 1946
		// (get) Token: 0x060019D9 RID: 6617 RVA: 0x0004ADB0 File Offset: 0x00048FB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ChessRogueGiveUpCsReq.Descriptor;
			}
		}

		// Token: 0x060019DA RID: 6618 RVA: 0x0004ADB7 File Offset: 0x00048FB7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueGiveUpCsReq()
		{
		}

		// Token: 0x060019DB RID: 6619 RVA: 0x0004ADBF File Offset: 0x00048FBF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueGiveUpCsReq(ChessRogueGiveUpCsReq other) : this()
		{
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060019DC RID: 6620 RVA: 0x0004ADD8 File Offset: 0x00048FD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueGiveUpCsReq Clone()
		{
			return new ChessRogueGiveUpCsReq(this);
		}

		// Token: 0x060019DD RID: 6621 RVA: 0x0004ADE0 File Offset: 0x00048FE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ChessRogueGiveUpCsReq);
		}

		// Token: 0x060019DE RID: 6622 RVA: 0x0004ADEE File Offset: 0x00048FEE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ChessRogueGiveUpCsReq other)
		{
			return other != null && (other == this || object.Equals(this._unknownFields, other._unknownFields));
		}

		// Token: 0x060019DF RID: 6623 RVA: 0x0004AE0C File Offset: 0x0004900C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060019E0 RID: 6624 RVA: 0x0004AE32 File Offset: 0x00049032
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060019E1 RID: 6625 RVA: 0x0004AE3A File Offset: 0x0004903A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060019E2 RID: 6626 RVA: 0x0004AE43 File Offset: 0x00049043
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060019E3 RID: 6627 RVA: 0x0004AE5C File Offset: 0x0004905C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060019E4 RID: 6628 RVA: 0x0004AE82 File Offset: 0x00049082
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ChessRogueGiveUpCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060019E5 RID: 6629 RVA: 0x0004AE9F File Offset: 0x0004909F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060019E6 RID: 6630 RVA: 0x0004AEA8 File Offset: 0x000490A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			while (input.ReadTag() != 0U)
			{
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04000AE3 RID: 2787
		private static readonly MessageParser<ChessRogueGiveUpCsReq> _parser = new MessageParser<ChessRogueGiveUpCsReq>(() => new ChessRogueGiveUpCsReq());

		// Token: 0x04000AE4 RID: 2788
		private UnknownFieldSet _unknownFields;
	}
}
